package com.hyt.it.ogt.kq.service.gov.model.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @PACKAGE_NAME: com.hyt.it.ogt.kq.service.gov.model.dto
 * @USER: Wuyingge
 * @DATE: 2023/8/3 10:08
 * @PROJECT_NAME: it-ogt-kq
 * @Desc : 机构平台科目信息入参
 **/
@Data
@Accessors(chain = true)
@ApiModel(value="ExamSubjectDTO对象", description="机构平台科目信息入参")
public class ExamSubjectDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "科目Id")
    private String id;

    @ApiModelProperty(value = "科目名称")
    private String code;

    @ApiModelProperty(value = "科目名称")
    @NotNull(message = "科目名称不能为空")
    private String subjectName;

    @ApiModelProperty(value = "机构ID")
    @NotNull(message = "机构ID不能为空")
    private String officeId;

    @ApiModelProperty(value = "部门ID")
    @NotNull(message = "部门ID不能为空")
    private String deptId;

    @ApiModelProperty(value = "考场类型")
    private String roomTypeId;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "考场类型名称")
    private String roomTypeName;

    @ApiModelProperty(value = "科目年级描述")
    private String grandDesc;

    @ApiModelProperty(value = "考试时长(线上机考不传、线下机考必传)")
    private String length;

    @ApiModelProperty(value = "开考后允许交卷分钟数(线上机考不传、线下机考必传)")
    private String handInTime;

    @ApiModelProperty(value = "结束前提醒交卷分钟数(线上机考不传、线下机考必传)")
    private String remindTime;

    @ApiModelProperty(value = "部门描述")
    private String deptName;
}
